package com.xxxy.blockhandler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import org.springframework.stereotype.Component;

import java.util.concurrent.BlockingDeque;

@Component
public class HotspotBlockHandler {
    public static String getHostpotBlockHandler(String type, String size, BlockException e){
        System.out.println("热点限流,请稍后再试");
        return "热点限流,请稍后再试";
    }
}
